﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NewSangoBang
{
    /// <summary>
    /// This class saves all the states, all the local data.
    /// </summary>
    class Module
    {
        private bool hasstarted;
        private bool haschar;
        private bool hasrole;
        private int playernum;
        private int activity;
        private string playername;
        private string character;
        private string role;
        private string guid;
        private string ishost;
        private int hp;
        private List<string> playerlist = new List<string>();
        private List<string> gamecards = new List<string>();
        private List<Character> characterlist = new List<Character>();
        private List<Player> backup = new List<Player>();

        public bool HasStarted
        {
            get { return hasstarted; }
            set { hasstarted = value; }
        }
        public bool HasChar
        {
            get { return haschar; }
            set { haschar = value; }
        }
        public bool HasRole
        {
            get { return hasrole; }
            set { hasrole = value; }
        }
        public int PlayerNum
        {
            get { return playernum; }
            set { playernum = value; }
        }
        public int Activity
        {
            get { return activity; }
            set { activity = value; }
        }
        public string PlayerName
        {
            get { return playername; }
            set { playername = value; }
        }
        public string Character
        {
            get { return character; }
            set { character = value; }
        }
        public string Role
        {
            get { return role; }
            set { role = value; }
        }
        public string Guid
        {
            get { return guid; }
            set { guid = value; }
        }
        public string IsHost
        {
            get { return ishost; }
            set { ishost = value; }
        }
        public int HP
        {
            get { return hp; }
            set { hp = value; }
        }
        public List<string> PlayerList
        {
            get { return playerlist; }
            set { playerlist = value; }
        }
        public List<string> GameCards
        {
            get { return gamecards; }
            set { gamecards = value; }
        }
        public List<Character> CharacterList
        {
            get { return characterlist; }
            set { characterlist = value; }
        }
        public List<Player> BackUp
        {
            get { return backup; }
            set { backup = value; }
        }

        public Module()
        {
        }
    }
}
